package com.smedi.ismedi.inmail.core.port.adapter.service;

import com.smedi.ismedi.inmail.core.domain.dto.OrganizationQuery;
import com.smedi.ismedi.organization.api.dto.response.resp.AllOrganizationResp;
import com.smedi.ismedi.organization.api.dto.response.resp.OrganizationResp;

import java.util.List;

/**
 * @Author Cookie
 * @Date 2022/7/19
 */
public interface OrganizationRemoteService {

    /**
     * 项目 获取 单一
     *
     * @param projectQuery 项目查询
     * @return Organization
     */
    OrganizationResp getOrganizationOne(OrganizationQuery projectQuery);

    /**
     * 项目 获取 列表
     *
     * @param projectQuery 项目查询
     * @return Organization
     */
    List<OrganizationResp> getOrganizationList(OrganizationQuery projectQuery);

    /**
     * 组织 获取 全部列表
     *
     * */
    List<AllOrganizationResp> getOrganizationList(List<Long> ids);
}
